#ifndef _COMMON_H_
#define _COMMON_H_

#pragma pack(1)

#define	LOGIN	0x0001

typedef struct
{
	char	src_id[12];
	char 	dst_id[12];
	int 	type;
	char 	buf[512];
}CHAT_MSG;

typedef struct
{
	int 	fd;
	char 	id[12];
}CLIENTFD;

#pragma pack()

#endif
